package com.luoran.car.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luoran.car.domain.Coupon;
import com.luoran.car.domain.UserCoupon;
import com.luoran.car.service.UserCouponService;
import com.luoran.car.mapper.UserCouponMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author DELL
* @description 针对表【USER_COUPON(客户优惠券关系表)】的数据库操作Service实现
* @createDate 2024-09-24 11:37:41
*/
@Service
public class UserCouponServiceImpl extends ServiceImpl<UserCouponMapper, UserCoupon>
    implements UserCouponService{

    @Autowired
    private UserCouponMapper userCouponMapper;
    @Override
    public boolean addUserCoupon(Coupon coupon, Integer customerId) {
        return userCouponMapper.addUserCoupon(coupon, customerId);
    }
}




